package excercise;

public class Q40_Novel {
	
	private String mno;
	private String title;
	private String writer;
	
	
	public Q40_Novel(){
		
		this.mno = "";
		this.title = "";
		this.writer = "";
		
	}
	
	
	public Q40_Novel(String mno, String title, String writer){
		
		this.mno = mno;
		this.title = title;
		this.writer = writer;
		
	}
	
	public void setMno(String mno) {
		
		this.mno = mno;
		
	}
	
	public String getMno() {
		
		return mno;
	
	}
	
	public void setTitle(String title) {
		
		this.title = title;
		
	}
	
	public String getTitle() {
		
		return title;
		
	}
	
	public void setWriter(String writer) {
		
		this.writer = writer;
		
	}
	
	public String getWriter() {
		
		return writer;
		
	}
	
	
	//getLastFees
	
	public static int getLastFees(int days){
		
		return days * 300;
		
	}
	
}
